package hid;

import hid.HIDManager.Axes;

public class Axis {
	
	private float value;
	private float scale;
	
	public Axis(Axes source) {
		scale = 1.0f;
	}
	
	public void setScale(float scale) {
		this.scale = scale;
	}
	
	public float poll() {
		return value;
	}

	public void update(float value) {
		this.value = value * scale;
	}
}
